﻿Public Class account

    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        Close()
    End Sub

    Private Sub account_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        lblusername.Text = "Username: " & details.username
        lblname.Text = "Name: " & details.name
        lblgamemoney.Text = "Game Money: £ " & details.money
        Me.BackColor = details.backcolor
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Me.Close()
    End Sub
End Class